<%-- 
    Document   : index
    Created on : 02.05.2011, 11:45:51
    Author     : 647_2
--%>

<%@page import="params.Params"%>
<%@page import="Test.TestBeanRemote"%>
<%@page import="sun.print.BackgroundLookupListener"%>
<%@page import="javax.naming.InitialContext"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><% out.print("Главная - " + Params.getSiteName()); %></title>
    </head>
    <body>
        <% out.print(Params.getHeader()); %>

        <%
                    InitialContext ic = new InitialContext();
                    TestBeanRemote r = (TestBeanRemote)ic.lookup(TestBeanRemote.class.getName());
                    out.print(r.testMessage());
        %>

        <% out.print(Params.getFooter()); %>
    </body>
</html>
